home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir34
/
ast_sgl3.zip
/
SGL.DOC
< prev
next >
Wrap
Text File
|
1994-06-23
|
11KB
|
184 lines
SGL DOC
Single BackUp, using ARJ.
Version 3.0
This is a backup program, front end for ARJ v2.41.
CopyRight (c) 1994, All Rights Reserved.
by Mark J. Ruskin
!!! NEW FOR v3.0 !!!
YOU MUST USE THE "INSTALL.EXE" FILE.
The Program will NOT function if not installed with the INSTALL.EXE
program.
The program will prompt you for a Drive/Directory that is in your
DOS Path to install to. This will insure that you can just type the
program's name and it will launch no matter where you are on your
Hard Disk.
The Install program will list each Drive/Directory that's in your
path, with a number next to it. Just type the number next to the
Drive/Directory where you want the program installed. If you make a
mistake, the Install program will ask if your sure of the Install To
path. Just press 'N', 'n' or 'Esc' to cancel, and rerun the Install
program.
The SGL and ASTORE programs will both be installed at the
same time.
Requirements: ARJ.EXE VERSION 2.41a OR GREATER, And a Hard Disk.
DOS 3.3 or greater. If you run it from the DOS prompt it will work
with 512K of memory, it should run from a launcher also if your
launcher program doesn't use a lot of memory to run programs. I run
mine out of Direct Access v5.0 or Stereo Shell v4.02. The Stereo Shell
uses about 51K of memory when I launch out of it, DA5 doesn't use any
to launch a program. I've also ran it out of Windows with no problem.
The reason for this amount of memory is, ARJ needs about 180K plus to
run right.
General:
I know, no one likes doing backups. It's always a pain, and it
seems to be useless, unless you've had to use a backup to restore
lost data after a hard drive crash. (Or, if you've lost your data
and didn't have a backup!)
Anyway, the object of doing a backup is to save data and configuration
files, that you can NOT replace by just reinstalling a program. As an
example, The Widows directory on my system is over 20 megabytes in
size, and has 14 subdirectories beneath the Windows directory. Out of
all of this, what makes my Windows 3.1 mine, are only 4 types of
files, " INI, INF, GRP, and any fonts I've installed that didn't come
with windows. If I had my C: drive crash, I could reinstall Windows
and then restore these files from my SGL BackUp file. This would give
me back the same setup for Windows I had before the crash. The INI
files are the files Windows reads when starting to tell it what to
run on startup, (if anything), what type of video and what Resolution
to run it at, if you use a Permanent or Temporary Swapfile, if you
use 32 bit disk data transfer, etc. The INF files are the install
script files for things such as video drivers that aren't included
with Windows, etc. The GRP files are your Group files for your
Program Manager's Desktop, etc.
The backup I did last night of my Windows directory, using SGL, came
out to be just under 72K in size. If I had backed up all of the
Windows directories, and got 50% compression, it would have been
10 megabytes in size. This would have been over 8 1.44meg floppies,
and would have taken a lot longer than just a minute or 2 to do.
NEW FOR v3.0
NOW DOES FULL OR INCREMENTAL BACKUPS
Now asks if you want to do a Full or Incremental BackUp. The
incremental backup does a backup on just files that are new or have
been changed since the last time you backed up. Also NEW is the ablity
to edit an existing Defaults file, Xclude file, or an Include file
from within the program.
How it works:
The SGL.EXE program is a front end that uses ARJ v2.41 to make backup
files, in what ever size files you tell it to. You can make the files
360K, 720K, 1.2meg, 1.44meg, or other size in K, (ie 2880K for the
new 2.88meg floppies,).
The Standard 4 Floppy Sizes are used by ARJ, with the Syntax being:
/v360 /v720 /v1200 /v1440. If you do use another value ie. /v2880K,
you MUST add the 'K' to the end of the Floppy Size. When you edit a
DFT file's floppy size line #5 don't forget to add the 'K' if it's NOT
a standard size. You can add the 'K' to the standard sizes, but you
MUST add it to a non standard size value.
It also will make the files to where ever you tell it to in the
*.DFT file you choose to backup.
The program will list up to 45 "DFT" files. These files are DeFaulT
script files that tell ARJ.EXE where to start getting files at,
(What Directory to start with.), the PathName to Save the files too,
(This can be a floppy drive or a RAM disk, or other directory on you
hard disk). This way you can make all your backups and copy them to
a floppy later, which is quicker, and safer than using drive A: or B:.
I've also included in the program an environment string to tell
ARJ to use Drive C:\ for it's temporary Working Directory. This way if
you do use a floppy for the Save To path, and the disk has errors, you
won't have to start over because ARJ will not delete the Temp file if
it can not copy the file to the floppy.
The program also will make a "LST" file with the same name as the ARJ
file. This file will have a full list, including full PathNames of all
the files in the ARJ file.
When it makes the ARJ & LST files, the program reads the system clock
for the month and day. It will use this for the first 4 characters of
the backup filename. ie 1121WIN.ARJ, would be the backup file for
Windows, made on 11/21. The LST file for this backup would be:
1121WIN.LST, with a full list of files backed - upped. The last 4
characters of the file name are taken from the DFT file's line #3.
This can be any 4 legal filename characters. If you put more than 4
characters on this line, SGL will only use the first 4 characters as
the filename.
The next line in a *.DFT file is optional. It is for using an
INCLUDE or EXCLUDE script file, if you want just certain files
Included or just certain files Excluded from the ARJ backup. I use
????????.JBK for include lists, and ????????.XJB for Exclude lists.
You can use what ever name you want as long as you tell the complete
PathName. ie "!C:\BACKUPS\MY_WIN.JBK" or "/x!C:\BACKUPS\A4V2.XJB".
The first example for "MY_WIN.JBK" is an InClude file. This tells
ARJ to read what's in this file and InClude everything in it. You can
InClude just certain files, file types, or just certain
subdirectories. The way it works is, if you've got an '!' in front
of the PathName it will InClude anything in the file. If you've got
an '/x!' in front of the PathName it will ExClude anything in the
file. The only restriction is that only 1 file spec be placed on each
line of the In/ExClude file. (see the sample scripts include)
The last line that SGL will use is the volume size line. This is
where you tell ARJ what size files to make if you want a certain
size. If you do, (I use 1.44meg size), ARJ will make as many files
this size as necessary to do the backup. The file extensions will be
"ARJ" for the first file and the A01, A02, A03, up to A99 if
necessary.
This should be enough to get you started. You can also use the sample
DFT, JBK, XJB files I've included and commented to get you started.
The easiest way to make your own *.DFT files is to load one of
the samples and modify it with DOS's EDIT or other text editor, then
save it as a different name with your PathNames and preferences in it.
The JBK and XJB files can be any name you choose as long as you
include the right name in the *.DFT file.
NEW FOR VERSION 3.0
With Menu item #3 you can edit DFT, JBK, and XJB files from within
the program. This item shells to the BAK_ED.EXE which allows you to
edit the files that already exist. If you choose to edit a DFT file
you will get help at the bottom of the screen as to what each of the
5 lines are for. For the JBK and XJB files you can add lines to it or
if you choose a line and give it just a space character you can delete
that line.
I've also included the program ASTORE.EXE. This is the Restore program
that will work with ARJ files you make. It will also work with any
ARJ file. It works just like the SGL program except in reverse. It
will restore (unarchive) the files in an ARJ or A?? file to the
PathName in the archived file (if one exists), or to any PathName you
tell it to. A bonus of the program is that it will list the files in
an ARJ file and allow you to just get the files you pick from a list
it will display. It displays up to 60 files on a screen and if there
are more than 40 in the ARJ file it will show you them if you press
Enter without making a selection. For more info, see the ASTORE.DOC
file.
I hope you find these programs useful and also hope you will call or
write with your thoughts on the program (Good or Bad), and any ideas
or suggestions on how I can improve it.
Write or call me:
Mark J. Ruskin
1100 Westwood Dr.
Tullahoma, TN 37388-2836
Phone (615)393-2534 or 455-8208
or Leave me E-Mail on my Local BBS
The ElkRiver BBS
(615) 455-1019/454-2295
Thank You for your support.